<template>
  <hover-container
    class="w-64 h-full"
    tooltip-content="重新加载"
    placement="bottom-end"
    @click="handleRefresh"
  >
    <refresh-icon class="text-50!" />
  </hover-container>
</template>

<script lang="ts" setup>
import { useAppStore } from "@/store";

const appStore = useAppStore();
const handleRefresh = () => {
  appStore.reloadPage();
};
</script>
